/**
 * 
 */
package com.bot.pojo;

import java.io.Serializable;

/**
 * @author zhaoyan
 *
 * 2020年2月3日
 */
public class Job implements Serializable{
	
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4916445185103388247L;
	private Integer id;
	private String name;
	private Integer require_edu;
	private Integer require_degree;
	private String intro;
	@Override
	public String toString() {
		return "Job [id=" + id + ", name=" + name + ", require_edu=" + require_edu + ", require_degree="
				+ require_degree + ", intro=" + intro + "]";
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getRequire_edu() {
		return require_edu;
	}
	public void setRequire_edu(Integer require_edu) {
		this.require_edu = require_edu;
	}
	public Integer getRequire_degree() {
		return require_degree;
	}
	public void setRequire_degree(Integer require_degree) {
		this.require_degree = require_degree;
	}
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
	/**
	 * 
	 */
	public Job() {
		super();
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((intro == null) ? 0 : intro.hashCode());
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		result = prime * result + ((require_degree == null) ? 0 : require_degree.hashCode());
		result = prime * result + ((require_edu == null) ? 0 : require_edu.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Job other = (Job) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (intro == null) {
			if (other.intro != null)
				return false;
		} else if (!intro.equals(other.intro))
			return false;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		if (require_degree == null) {
			if (other.require_degree != null)
				return false;
		} else if (!require_degree.equals(other.require_degree))
			return false;
		if (require_edu == null) {
			if (other.require_edu != null)
				return false;
		} else if (!require_edu.equals(other.require_edu))
			return false;
		return true;
	}
	
	

}
